package deibay.server.frontend.commands;

import deibay.messages.Message;
import deibay.server.eventargs.GetItemsListEventArg;
import deibay.server.events.GetItemsListEvent;
import deibay.server.frontend.FrontEndCore;
import deibay.users.User;

public class RequestItemsListCommand extends Command{

	public RequestItemsListCommand(User user, Message msg) {
		super(user, msg);		
	}

	@Override
	public void execute() {		
		FrontEndCore.getInstance().getServerConnection().send(new GetItemsListEvent(new GetItemsListEventArg(user)));		
	}

}
